
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module cjakme</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>cjakme</strong></big></big> (version 0.1)</font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/Users/jah/Dropbox/Documents/Coursework/Advanced Software Development/jakme/src/cjakme.py">/Users/jah/Dropbox/Documents/Coursework/Advanced Software Development/jakme/src/cjakme.py</a></font></td></tr></table>
    <p><tt>A&nbsp;curses&nbsp;implementation&nbsp;of&nbsp;an&nbsp;editor&nbsp;using&nbsp;the&nbsp;Jakme&nbsp;framework</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="backend.html">backend</a><br>
</td><td width="25%" valign=top><a href="curses.html">curses</a><br>
</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="cjakme.html#Gui">Gui</a>
</font></dt></dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="Gui">class <strong>Gui</strong></a></font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt>Implements&nbsp;a&nbsp;gui&nbsp;using&nbsp;the&nbsp;Jakme&nbsp;backend<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="Gui-__del__"><strong>__del__</strong></a>(self)</dt><dd><tt>When&nbsp;destroying&nbsp;the&nbsp;gui&nbsp;make&nbsp;sure&nbsp;to&nbsp;set&nbsp;back&nbsp;the&nbsp;keyboard&nbsp;to<br>
normal</tt></dd></dl>

<dl><dt><a name="Gui-__init__"><strong>__init__</strong></a>(self, screen)</dt><dd><tt>Create&nbsp;a&nbsp;new&nbsp;gui&nbsp;object<br>
&nbsp;<br>
Arguments:<br>
screen&nbsp;--&nbsp;the&nbsp;screen&nbsp;to&nbsp;draw&nbsp;on</tt></dd></dl>

<dl><dt><a name="Gui-displaymessage"><strong>displaymessage</strong></a>(self, text)</dt><dd><tt>Display&nbsp;a&nbsp;message&nbsp;to&nbsp;the&nbsp;user<br>
&nbsp;<br>
Arguments:<br>
text&nbsp;--&nbsp;the&nbsp;text&nbsp;to&nbsp;display</tt></dd></dl>

<dl><dt><a name="Gui-draw_filename"><strong>draw_filename</strong></a>(self)</dt><dd><tt>Say&nbsp;which&nbsp;file&nbsp;we're&nbsp;editing</tt></dd></dl>

<dl><dt><a name="Gui-draw_global_commands"><strong>draw_global_commands</strong></a>(self)</dt><dd><tt>Add&nbsp;the&nbsp;global&nbsp;commands&nbsp;menubar</tt></dd></dl>

<dl><dt><a name="Gui-main"><strong>main</strong></a>(self)</dt><dd><tt>Start&nbsp;the&nbsp;editor</tt></dd></dl>

<dl><dt><a name="Gui-refresh"><strong>refresh</strong></a>(self)</dt><dd><tt>Refresh&nbsp;the&nbsp;screen</tt></dd></dl>

<dl><dt><a name="Gui-runcommand"><strong>runcommand</strong></a>(self, path, text<font color="#909090">=''</font>)</dt><dd><tt>Run&nbsp;a&nbsp;command&nbsp;through&nbsp;the&nbsp;backend<br>
&nbsp;<br>
Arguments:<br>
path&nbsp;--&nbsp;the&nbsp;command&nbsp;to&nbsp;run<br>
text&nbsp;--&nbsp;the&nbsp;text&nbsp;to&nbsp;pass&nbsp;it&nbsp;(defaults&nbsp;to&nbsp;the&nbsp;empty&nbsp;string)</tt></dd></dl>

</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
    
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>__author__</strong> = 'Joseph Hallett &amp; Kiri Baildon-Smith'<br>
<strong>__version__</strong> = '0.1'</td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#7799ee">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Author</strong></big></font></td></tr>
    
<tr><td bgcolor="#7799ee"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%">Joseph&nbsp;Hallett&nbsp;&amp;&nbsp;Kiri&nbsp;Baildon-Smith</td></tr></table>
</body></html>